package com.zzg.mybatis.generator.model;

import javafx.fxml.FXML;
import javafx.scene.control.TextField;

/**
 * GeneratorConfig is the Config of mybatis generator config exclude database
 * config
 * <p>
 * Created by Owen on 6/16/16.
 */
public class GeneratorConfig {

    /**
     * 本配置的名称
     */
    private String name;

    private String connectorJarPath;

    private String projectFolder;

    private String modelPackage;

    private String modelPackageTargetFolder;
    private String autoTargetPackage;
    private String autoTargetProject;
    private String clientTargetPackage;
    private String clientTargetProject;
    private String serviceTargetPackage;
    private String serviceTargetProject;
    private String controllerTargetPackage;
    private String controllerTargetProject;

    private String mapperName;

    private String tableName;

    private String domainObjectName;

    private boolean mybatisPlus;

    private boolean offsetLimit;

    private boolean comment;

    private boolean overrideXML;

    private boolean needToStringHashcodeEquals;

    private boolean annotation;

    private boolean useActualColumnNames;

    private boolean useExampe;

    private String generateKeys;

    private boolean sinceTheGrowth;

    private String encoding;

    private boolean useTableNameAlias;

    private boolean useSchemaPrefix;

    private boolean jsr310Support;

    public boolean isJsr310Support() {
        return jsr310Support;
    }

    public void setJsr310Support(boolean jsr310Support) {
        this.jsr310Support = jsr310Support;
    }

    public boolean isUseSchemaPrefix() {
        return useSchemaPrefix;
    }

    public void setUseSchemaPrefix(boolean useSchemaPrefix) {
        this.useSchemaPrefix = useSchemaPrefix;
    }

    public boolean isUseExampe() {
        return useExampe;
    }

    public void setUseExampe(boolean useExampe) {
        this.useExampe = useExampe;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public String getDomainObjectName() {
        return domainObjectName;
    }

    public void setDomainObjectName(String domainObjectName) {
        this.domainObjectName = domainObjectName;
    }

    public String getConnectorJarPath() {
        return connectorJarPath;
    }

    public void setConnectorJarPath(String connectorJarPath) {
        this.connectorJarPath = connectorJarPath;
    }

    public String getProjectFolder() {
        return projectFolder;
    }

    public void setProjectFolder(String projectFolder) {
        this.projectFolder = projectFolder;
    }

    public String getModelPackage() {
        return modelPackage;
    }

    public void setModelPackage(String modelPackage) {
        this.modelPackage = modelPackage;
    }

    public String getModelPackageTargetFolder() {
        return modelPackageTargetFolder;
    }

    public void setModelPackageTargetFolder(String modelPackageTargetFolder) {
        this.modelPackageTargetFolder = modelPackageTargetFolder;
    }

    public String getAutoTargetPackage() {
        return autoTargetPackage;
    }

    public void setAutoTargetPackage(String autoTargetPackage) {
        this.autoTargetPackage = autoTargetPackage;
    }

    public String getAutoTargetProject() {
        return autoTargetProject;
    }

    public void setAutoTargetProject(String autoTargetProject) {
        this.autoTargetProject = autoTargetProject;
    }

    public String getClientTargetPackage() {
        return clientTargetPackage;
    }

    public void setClientTargetPackage(String clientTargetPackage) {
        this.clientTargetPackage = clientTargetPackage;
    }

    public String getClientTargetProject() {
        return clientTargetProject;
    }

    public void setClientTargetProject(String clientTargetProject) {
        this.clientTargetProject = clientTargetProject;
    }

    public String getServiceTargetPackage() {
        return serviceTargetPackage;
    }

    public void setServiceTargetPackage(String serviceTargetPackage) {
        this.serviceTargetPackage = serviceTargetPackage;
    }

    public String getServiceTargetProject() {
        return serviceTargetProject;
    }

    public void setServiceTargetProject(String serviceTargetProject) {
        this.serviceTargetProject = serviceTargetProject;
    }

    public String getControllerTargetPackage() {
        return controllerTargetPackage;
    }

    public void setControllerTargetPackage(String controllerTargetPackage) {
        this.controllerTargetPackage = controllerTargetPackage;
    }

    public String getControllerTargetProject() {
        return controllerTargetProject;
    }

    public void setControllerTargetProject(String controllerTargetProject) {
        this.controllerTargetProject = controllerTargetProject;
    }

    public boolean isOffsetLimit() {
        return offsetLimit;
    }

    public void setOffsetLimit(boolean offsetLimit) {
        this.offsetLimit = offsetLimit;
    }

    public boolean isComment() {
        return comment;
    }

    public void setComment(boolean comment) {
        this.comment = comment;
    }

    public boolean isNeedToStringHashcodeEquals() {
        return needToStringHashcodeEquals;
    }

    public void setNeedToStringHashcodeEquals(boolean needToStringHashcodeEquals) {
        this.needToStringHashcodeEquals = needToStringHashcodeEquals;
    }

    public boolean isAnnotation() {
        return annotation;
    }

    public void setAnnotation(boolean annotation) {
        this.annotation = annotation;
    }

    public boolean isUseActualColumnNames() {
        return useActualColumnNames;
    }

    public void setUseActualColumnNames(boolean useActualColumnNames) {
        this.useActualColumnNames = useActualColumnNames;
    }

    public String getGenerateKeys() {
        return generateKeys;
    }

    public void setGenerateKeys(String generateKeys) {
        this.generateKeys = generateKeys;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public boolean getUseTableNameAlias() {
        return useTableNameAlias;
    }

    public void setUseTableNameAlias(boolean useTableNameAlias) {
        this.useTableNameAlias = useTableNameAlias;
    }

    public boolean isUseTableNameAlias() {
        return useTableNameAlias;
    }

    public boolean isOverrideXML() {
        return overrideXML;
    }

    public void setOverrideXML(boolean overrideXML) {
        this.overrideXML = overrideXML;
    }

    public boolean isSinceTheGrowth() {
        return sinceTheGrowth;
    }

    public void setSinceTheGrowth(boolean sinceTheGrowth) {
        this.sinceTheGrowth = sinceTheGrowth;
    }

    public boolean isMybatisPlus() {
        return mybatisPlus;
    }

    public void setMybatisPlus(boolean mybatisPlus) {
        this.mybatisPlus = mybatisPlus;
    }
}
